﻿#include "FITKLoadConstraintFESubsys.h"

namespace Acoustics
{
    FITKLoadConstraintFESubsys::FITKLoadConstraintFESubsys()
    {
        //构造
    }

    FITKLoadConstraintFESubsys::~FITKLoadConstraintFESubsys()
    {
        //析构
    }

    FITKAcousticsAbstractLoad::AcousticsLoadType FITKLoadConstraintFESubsys::getAcousticsLoadType()
    {
        //获取载荷类型
        return FITKAcousticsAbstractLoad::AcousticsLoadType::ConstraintFESubsys;
    }

    bool FITKLoadConstraintFESubsys::copy(FITKAbstractDataObject* obj)
    {
        //拷贝数据
        FITKLoadConstraintFESubsys* oldObj = dynamic_cast<FITKLoadConstraintFESubsys*>(obj);
        if (!oldObj) return false;
        _enabledState = oldObj->_enabledState;
        _notes = oldObj->_notes;
        _connectObjID = oldObj->_connectObjID;
        this->Core::FITKAbstractNDataObject::copy(obj);
        return true;
    }
}